package tec;

public final class PassagerStresse
    extends PassagerAbstrait{
    
    public PassagerStresse(String nom, int destination){
	super(nom,destination);
    }
    
    
    protected void choixChangerPlace(Bus b, int numeroArret) {
	if (moinsTroisArrets(numeroArret) && estAssis())
	    b.demanderChangerEnDebout(this);
	
    }

    protected void choixPlaceMontee(Bus b) { 
	if(b.aPlaceAssise())
	    b.demanderPlaceAssise(this);
    }
}